list1 = [2,4,6,1,3,5]
print(list1)
print(sorted(list1))

list_str = ['abcd', 'bcd','cd']
print(sorted(list_str))
print(sorted(list_str,key=len))
print('-----><-----')
print()
list_num = [1234,321,9]
print(list_num)
def myrule(num):
    return num%10
print(sorted(list_num,key=myrule))


